package com.ckh.springboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ckh.springboot.controller.dto.UserPasswordDTO;
import com.ckh.springboot.entity.SysClass;
import com.ckh.springboot.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ckh
 * @since 2022-04-04
 */
public interface SysClassMapper extends BaseMapper<SysClass> {

    void updateClockStatus();

    List<User> getClassInfo(@Param("classId") Integer classId);

    Page<SysClass> getSysClassList(Page<SysClass> page,@Param("name") String name);
}



